package com.wayhome.srpingbootmybatis.drexamine.controller;

import com.alibaba.fastjson.JSONObject;
import com.wayhome.srpingbootmybatis.drexamine.dto.ImsScoreUploadDTO;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/web/uploadCountry")
public class UploadScoreController {

    @PostMapping(value = "/imsScoreUpload")
    public void imsScoreUpload(@RequestBody ImsScoreUploadDTO imsScoreUploadDTO){
        System.out.println("上传国家的数据是：" + JSONObject.toJSONString(imsScoreUploadDTO));

    }
}
